<!DOCTYPE html>
<html>
    <head>
        <title>后台管理</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style>
            body, ul, ol, li, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset, .pr, .pc {
                margin: 0;
                padding: 0;
            }
            body, input, button, select, textarea {
                font: 12px/1.5 Tahoma,'Microsoft Yahei','Simsun';
                color: #444;
            }
            body{
                background:  white url("<{$configs.SITE_URL}>/images/admin/bg.png") repeat-x 0 0;
            }
            h1,p{
                margin:0;
            }
            ul,li{
                list-style: none;
            }
            .main{
                width: 960px;
                margin:auto;
                min-height: 600px;
                overflow: hidden;
            }
            .header{
                width:100%;
                background:url("<{$configs.SITE_URL}>/images/admin/headbg.png") repeat-x 0 0;
                min-height: 60px;
                border-bottom: 1px #999999 solid;
                overflow:hidden;
            }
            .center{
                width: 100%;
                min-height: 600px;
            }
            .left{
                float:left;
                width: 229px;
                min-height: 600px;
                background:url("<{$configs.SITE_URL}>/images/admin/leftbg.gif") repeat-y 0 0;
                padding: 10px 0px;
                color:#888;
                overflow:hidden;
            }
            .menugreen{
                background: url("<{$configs.SITE_URL}>/images/admin/menugreen.gif") no-repeat;
                float: right;
                width: 206px;
                height:33px;
                color:white;
                padding: 0;
                line-height:33px;
                text-align: right;
                margin:5px 0px;
            }
            .menugreen h3{
                margin-right: 10px;
            }
            .menugreen a{
                color:white;
                text-decoration: none;
            }
            .innerli{
                width:206px;
                float: right;
                
                text-align:right;
                margin-right: 12px;
                display: none;
            }
            .innerli ul li{
                margin-right: 10px;
                height:20px;
                line-height:20px;
                
            }
            .innerli ul li a{
                color:#888;
            }
            .innerli ul li a:hover{
                color:white;
            }
            .right{
                float:right;
                width: 729px;
                
                min-height: 620px;
                padding:0;
                margin:0;
                overflow:hidden;
                
            }
            .foot{
                width: 100%;
                height:60px;
                float: right;
                background: #fafafa;
            }
        </style>
        <script src="<{$configs.SITE_URL}>/include/js/jq.js"></script>
        
        <script>
            $(function(){$("[id^=click_]").click(function(){
                $(this).next().slideToggle(300);
            })});
            
        </script>
    </head>
    <body>
        <div class="main">
            <div class="header">
                <div style="width:110px;height:55;overflow:hidden;float: left;display: block;"><img src="<{$configs.SITE_URL}>/images/admin/logo1.png" height="58"/></div>
                <div style="width:300px;height:100%;float: right;padding:10px 10px 0 0;"><p align="right">尊敬的 <{$admininfo.title}> <font color="red"><{$admininfo.username}></font>,欢迎您</p><p align="right"><a href="<{$configs.SITE_URL}>">访问首页</a> <a href="logout.php">退出</a></p></div>
            </div>
        <div class="center">
            <div class="left">
                <h2 style="margin-left:20px;">导航</h2>
                <ul>
                    <{if $admininfo.mtypes}>
                    <li class="menugreen" id="click_1"><h3><a href="#">分类管理</a></h3></li>
                    <li class="innerli">
                        <ul>
                            <li><a href="<{$configs.SITE_URL}>/admin/mtypes.php?action=add" target="right">添加分类</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/mtypes.php" target="right">查看分类</a></li>
                            
                        </ul>
                    </li>
                    <{/if}>
                    <{if $admininfo.mmembers}>
                    <li class="menugreen" id="click_2"><h3><a href="#">会员管理</a></h3></li>
                    <li class="innerli">
                        <ul>
                            <li><a href="<{$configs.SITE_URL}>/admin/mmember.php?action=add" target="right">添加会员</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/mmember.php" target="right">查看会员</a></li>
                        </ul>
                    </li>
                    <{/if}>
                    <{if $admininfo.mcommos}>
                    <li class="menugreen" id="click_3"><h3><a href="#">商品管理</a></h3></li>
                    <li class="innerli">
                        <ul>
                            <li><a href="<{$configs.SITE_URL}>/admin/mcommo.php?action=add" target="right">添加新商品</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/mcommo.php?action=discount" target="right">促销管理</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/mcommo.php" target="right">查看商品</a></li>
                        </ul>
                    </li>
                    <{/if}>
                    <{if $admininfo.morders}>
                    <li class="menugreen" id="click_4"><h3><a href="#">订单管理</a></h3></li>
                    <li class="innerli">
                        <ul>
                            <li><a href="<{$configs.SITE_URL}>/admin/" target="right">等待付款</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/" target="right">等待处理</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/" target="right">废弃订单</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/" target="right">所有订单</a></li>
                        </ul>
                    </li>
                    <{/if}>
                    <{if $admininfo.manns}>
                    <li class="menugreen" id="click_5"><h3><a href="#">公告管理</a></h3></li>
                    <li class="innerli">
                        <ul>
                            <li><a href="<{$configs.SITE_URL}>/admin/mann.php" target="right">公告列表</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/mann.php?action=add" target="right">添加公告</a></li>
                        </ul>
                    </li>
                    <{/if}>
                    <{if $admininfo.mlinks}>
                    <li class="menugreen" id="click_6"><h3><a href="#">友链管理</a></h3></li>
                    <li class="innerli">
                        <ul>
                            <li><a href="<{$configs.SITE_URL}>/admin/mflink.php" target="right">查看友链</a></li>
                            <li><a href="<{$configs.SITE_URL}>/admin/mflink.php?action=add" target="right">添加友链</a></li>
                        </ul>
                    </li>
                    <{/if}>
                    <li class="menugreen" id="click_7"><h3><a href="#">其他</a></h3></li>
                    <li class="innerli">
                        <ul>
                            <li><a href="<{$configs.SITE_URL}>/admin/mlunbo.php" target="right">轮播管理</a></li>                            
                        </ul>
                    </li>
                </ul>               
            </div>
            <div class="right">
                <iframe name="right" id="rightframe" width=760 height=620 frameborder=0  marginheight="0" marginwidth="0"  src="<{$configs.SITE_URL}>/admin/default.php"></iframe>
            </div>
            <div class="foot">
                <p align="center">页脚,后台管理，MyB2C</p>
            </div>
        </div>
        </div>
    </body>   
</html>
